package com.swind.fast.modules.app.industry.service;

import com.swind.fast.modules.app.industry.entity.ScsDeviceProp;
import com.swind.fast.modules.app.industry.entity.ScsDeviceDataLog;
import com.swind.fast.modules.app.industry.entity.ScsDevice;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 设备表

 * @Date:   2021-01-06
 * @Version: V1.0
 */
public interface IScsDeviceService extends IService<ScsDevice> {

	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(ScsDevice scsDevice,List<ScsDeviceProp> scsDevicePropList,List<ScsDeviceDataLog> scsDeviceDataLogList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(ScsDevice scsDevice,List<ScsDeviceProp> scsDevicePropList,List<ScsDeviceDataLog> scsDeviceDataLogList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

}
